package demo1;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2023-11-28
 * Time: 19:38
 */
public class Withdrawal implements BankAccount {
    public void accountName() {
        System.out.println("输入账户名：");

    }
    public void input2(){
        System.out.println("请输入你需要取的金额！");
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        System.out.println("你取走的金额为："+a);

    }

}
